﻿using Agnes.Core;
using DevExpress.XtraScheduler;

namespace Agnes.TaskManager
{
    /// <summary>
    /// 任务日历模式ViewModel
    /// </summary>
    public sealed class TaskCalendarViewModel
        : DocumentPanelBase<TaskManager>
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="model"></param>
        public TaskCalendarViewModel(TaskManager model)
            :base(model)
        {
            DisplayName = "日历表";

        }

        public override void Cancel()
        {
        }

        public override void PreViewClose(object sender, System.ComponentModel.CancelEventArgs e)
        {
        }

        public override void Save()
        {
        }

         protected override object CreateView()
        {
            return new TaskCalendarView();
        }
    }
}
